package com.zytech.zspider.task.impl.http;

import java.util.Map;

/**
 * @author siuming
 */
public interface HttpTaskRequestExecutor {

    /**
     * @param request
     * @param settings
     * @return
     */
    HttpTaskResponse submit(HttpTaskRequest request, Map<String, String> settings);

    /**
     * shutdown this executor.
     */
    void shutdown();
}
